import {request} from "../../utils/request"
//门店信息
export let BranchList= (params:object)=>{
	return request.postRequest<number|undefined>("outlets/getConditionPages",params)
}
// 查询负责人 
export let adminList= (params:object)=>{
	return request.postRequest<number|undefined>("outlets/getAdminNames",params)
}
// 添加门店 
export let addBranch= (params:object)=>{
	return request.postRequest<number|undefined>("outlets",params)
}
// 根据ID查询门店 
export let getBranchById= (params:object)=>{
	return request.postRequest<number|undefined>("outlets/getOutletById",params)
}
// 修改门店
export let updateBranch= (params:object)=>{
	return request.putRequest<number|undefined>("outlets",params)
}
// 删除门店 
export let delBranch= (params:object)=>{
	return request.postRequest<number|undefined>("outlets/deleteOutlet",params)
}
